package com.qtt.app.entity.Test;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel(value = "信息表实体", description = "Msg Entity")
public class MsgBoard {
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "作者")
    private String author;
    @ApiModelProperty(value = "发送的信息")
    private String msg;
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    public MsgBoard(Long id, String author, Date gmtCreate) {
        this.id = id;
        this.author = author;
        this.gmtCreate = gmtCreate;
    }

    public MsgBoard(Long id, String author, Date gmtCreate, String msg) {
        this.id = id;
        this.author = author;
        this.gmtCreate = gmtCreate;
        this.msg = msg;
    }

    public MsgBoard() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}